﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Sharp.Infrastructure;
using Sharp.Infrastructure.Search;

namespace Sharp.Domain.PlatformBoundedContext.MessageModule.Aggregates
{
    public partial interface IMessageRepository
    {
        /// <summary>
        /// 发件箱
        /// </summary>
        /// <param name="pf"></param>
        /// <param name="me"></param>
        /// <returns></returns>
        PagedResult<Message> GetOutboxPagging(PagingFeature pf, Guid me);

        /// <summary>
        /// 草稿箱
        /// </summary>
        /// <param name="pf"></param>
        /// <param name="me"></param>
        /// <returns></returns>
        PagedResult<Message> GetDraftboxPagging(PagingFeature pf, Guid me);

        /// <summary>
        /// 获取垃圾箱数据
        /// </summary>
        /// <param name="pf"></param>
        /// <param name="me"></param>
        /// <returns></returns>
        PagedResult<Message> GetDustbinPagging(PagingFeature pf, Guid me);
    }
}
